package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.model.pojo.Product;
import com.imooc.mall.model.request.AddProductReq;

/**
 * @author zwj
 * @Description:
 * @date 2022/10/30 2:42 下午
 */
public interface ProductService {
    void add(AddProductReq addProductReq);
    void update(Product updateProduct);
    void delete(Integer id);
    void batchUpdateSellStatus(Integer[] ids, Integer sellStatus);
    PageInfo listForAdmin(Integer pageNum, Integer pageSize);
}
